package com.homejoy.system.domain;

import com.homejoy.common.annotation.Excel;
import com.homejoy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 待办管理对象 homejoy_property_pending
 * 
 * @author homeJoy
 * @date 2025-11-15
 */
public class HomejoyPropertyPending extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 待办ID */
    private Long pendingId;

    /** 房源ID */
    @Excel(name = "房源ID")
    private Long propertyId;

    private String propertyTitle;

    /** 1待房东同意 2待租客同意 3已完成 4已取消 */
    @Excel(name = "1待房东同意 2待租客同意 3已完成 4已取消")
    private String status;

    /** 1同意,2不同意 */
    @Excel(name = "0待处理,1同意,2不同意")
    private String landlordAgreed;
    private String landlord;

    /** 1同意,2不同意 */
    @Excel(name = "0待处理,1同意,2不同意")
    private String tenantAgreed;
    private String tenant;


    public String getPropertyTitle() {
        return propertyTitle;
    }

    public void setPropertyTitle(String propertyTitle) {
        this.propertyTitle = propertyTitle;
    }

    public String getLandlord() {
        return landlord;
    }

    public void setLandlord(String landlord) {
        this.landlord = landlord;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public void setPendingId(Long pendingId)
    {
        this.pendingId = pendingId;
    }

    public Long getPendingId() 
    {
        return pendingId;
    }

    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setLandlordAgreed(String landlordAgreed) 
    {
        this.landlordAgreed = landlordAgreed;
    }

    public String getLandlordAgreed() 
    {
        return landlordAgreed;
    }

    public void setTenantAgreed(String tenantAgreed) 
    {
        this.tenantAgreed = tenantAgreed;
    }

    public String getTenantAgreed() 
    {
        return tenantAgreed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("pendingId", getPendingId())
            .append("propertyId", getPropertyId())
            .append("status", getStatus())
            .append("landlordAgreed", getLandlordAgreed())
            .append("tenantAgreed", getTenantAgreed())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
